Lecture VI AMORTIZATION

ثبت نشده
چکیده

Amortization is the algorithmic idea of distributing computational cost over a period of time. The terminology comes from home mortgages: most Americans pay for a home by taking out a long-term loan called a home mortgage. This loan is repaid monthly, over the period of the loan. In an amortized analysis of an algorithm, we likewise spread the cost of an operation over the entire run of the algorithm. Suppose each run of the algorithm amounts to a sequence of operations on a data structure. For instance, to sort n items, the well-known heapsort algorithm (Lect.III,¶7) is a sequence of n insert’s into an initially empty priority queue, followed by a sequence of n deleteMin’s from the queue until it is empty. Thus if ci is the cost of the ith operation, the algorithm’s running time is ∑2n i=1 ci, since there are 2n priority queue operations in all. In worst case analysis, we ensure that each operation is efficient, say ci = O(log n), leading to the conclusion that the overall algorithm is O(n log n). But an amortization argument might be able to obtain the same bound ∑2n i=1 ci = O(n log n) without ensuring that each ci is logarithmic. In this case, we will say that the amortized cost of each operation is logarithmic. Thus “amortized complexity” is a kind of average complexity although it has nothing to do with probability. Tarjan [11] gave the first systematic account of this topic.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Lecture VI AMORTIZATION

Many algorithms amount to a sequence of operations on a data structure. For instance, the well-known heapsort algorithm is a sequence of insert’s into an initially empty priority queue, followed by a sequence of deleteMin’s from the queue until it is empty. Thus if ci is the cost of the ith operation, the algorithm’s running time is ∑2n i=1 ci, since there are 2n operations for sorting n elemen...

متن کامل

S 6840 – Algorithmic Game Theory March 28 , 2012 Lecture 28 : Greedy Algorithm in General Combinatorial Auctions

Recall the definition of a combinatorial auction. Set S of items on sale. n bidders, each bidder i has vi(A) ≥ 0 for any subset A ⊆ S. In the previous lecture, we introduced single-minded valuations vi which meant, each bidder had a desired set Ai and vi(A) = vi if Ai ⊆ A and 0 otherwise. We generalize this assumption for today: we merely assert that vi is a monotone non-decreasing set function...

متن کامل

Applications of Continuous Amortization to Bisection-based Root Isolation

Continuous amortization is a technique for computing the complexity of algorithms, and it was first presented by the author in [6]. Continuous amortization can result in simpler and more straight-forward complexity analyses, and it was used in [6, 5, 52] to provide complexity bounds for simple root isolation algorithms. This paper greatly extends the reach of continuous amortization to serve as...

متن کامل

Is goodwill value relevant - A Danish perspective

Based on data from the Danish Stock Exchange, this paper analyses the value relevance of goodwill and goodwill amortization. Until Danish accounting legislation was changed as of January 1, 2002 companies were allowed to write-off goodwill or capitalize it subject to amortization, which provided a richer information set, as goodwill must be capitalized under most other accounting regimes. The v...

متن کامل

Efficient Gain and Loss Amortization and Optimal Funding in Pension Plans

The authors consider efficient methods of amortizing actuarial gains and losses in defined-benefit pension plans. In the context of a simple model where asset gains and losses emerge as a consequence of random (independent and identically distributed) rates of investment return, it has been shown that direct amortization of such gains and losses leads to more variable funding levels and contrib...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012